package com.example.demo.util;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Copyright © 合生活. All rights reserved.
 *
 * @Title: Test
 * @Prject: ttc
 * @Package: com.feejson.ttc.util
 * @Description:
 * @author: feejson
 * @date: 2019-06-20 16:02
 * @version: V1.0
 */
@NoArgsConstructor
@Data
public class ResultBean {

        /**
         * exercisesId : 402840a76b543509016b54b5d1120288
         * doneFlag : 0
         * scoreFlag : 0
         * analytical : null
         * answer : [{"code":0,"title":"直接"},{"code":1,"title":"不直接"}]
         * right : 1
         * state : 0
         * title : 婚姻家庭的人身法律关系是否直接体现经济内容？（   ）
         * type : 1
         */

        private String exercisesId;
        private int doneFlag;
        private int scoreFlag;
        private Object analytical;
        private String right;
        private int state;
        private String title;
        private String type;
        private List<AnswerBean> answer;

        @NoArgsConstructor
        @Data
        public static class AnswerBean {

            /**
             * code : 0
             * title : 直接
             */

            private int code;
            private String title;

                @Override
                public String toString() {
                                return "选项{" +
                                "" + title  +
                                '}';
                }
        }

}
